/*
 * @Description: 表单校验规则
 * @Author: chenju
 * @Date: 2022-03-22 17:46:03
 * @LastEditors: qingyang
 * @LastEditTime: 2022-04-08 17:29:34
 */
export const rules = {
  materialName: [
    {
      required: true,
      message: '请输入能源/燃料名称',
      trigger: ['submit', 'change']
    }
  ],
  materialUnit: [
    {
      required: true,
      message: '请选择能源/燃料单位',
      trigger: ['submit', 'change']
    }
  ]
};
